package com.test.exam.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.test.exam.dao.AdminDao;
import com.test.exam.domain.Admin;

@Service
public class AdminService {
	@Autowired
	AdminDao adminDao;
	
	public Admin getAdminByIdAndPw(Admin admin){
		return adminDao.getAndminByIdAndPw(admin);
	}
}